﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="RoleManager.cs" company="Anton Frattaroli">
//   Copyright (c) Anton Frattaroli. All rights reserved.
// </copyright>
// <summary>
//   Defines the RoleManager class.
// </summary>
// --------------------------------------------------------------------------------------------------------------------
namespace Lidocaine.BusinessLogic
{
    using System.Collections.Generic;
    
    /// <summary>
    /// Defines the RoleManager class.
    /// </summary>
    public static class RoleManager
    {
        /// <summary>
        /// Gets the application roles.
        /// </summary>
        /// <returns>A read-only list of roles.</returns>
        public static List<BusinessObjects.Role> GetRoles()
        {
            return Data.Role.SelectAll();
        }
    }
}